package com.bjpowernode.test01;

public class Task3 {
    public static void main(String[] args) {
        int a = 1;
        int b = 2;
        System.out.println("交换前的值: a="+a+" b"+"="+b);
        int c = a;
        a = b;
        b = c;
        System.out.println("交换后的值: a="+a+" b"+"="+b);


    }
}
